def fibonacci_even_generator(n, total=5):
    def fib_gen():
        a, b = 0, 1
        count = 0
        while count < n:
            yield a
            a, b = b, a + b
            count += 1

    even_count = 0
    for x in fib_gen():
        if x % 2 == 0:
            yield x
            even_count += 1
            if even_count >= total:
                break


if __name__ == '__main__':
    result = list(fibonacci_even_generator(100, total=10))
    print(result)